Skip to content

ioctl: retry ioctl on EINTR return value#993

Closed
igaw wants to merge 1 commit intolinux-nvme:masterfrom
igaw:fix-eintr
Closed

ioctl: retry ioctl on EINTR return value#993
igaw wants to merge 1 commit intolinux-nvme:masterfrom
igaw:fix-eintr

Conversation

@igaw
Copy link
Copy Markdown
Collaborator

@igaw igaw commented Apr 16, 2025

Recent changes in the nvme-tcp transport started to return EINTR due to a signal while reading from a socket. The transport could retry the operation but so far this hasn't been implemented. Thus we retry in userpace the connect call when EINTR is returned.

Fixes: #linux-nvme/nvme-cli#2760

Recent changes in the nvme-tcp transport started to return EINTR due to
a signal while reading from a socket. The transport could retry the
operation but so far this hasn't been implemented. Thus we retry in
userpace the connect call when EINTR is returned.

Signed-off-by: Daniel Wagner <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant